home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-25 | 795 b | 33 lines | [TEXT/GEOL] |
- Item 0349997 25-Oct-89 18:49
-
- From: D1032 Softview, Lee Gummerman,PRT
-
- To: MACAPP.TEST MacApp SQA Team
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Focus problem
-
- To: MacApp.Test
-
- Copies to Macapp.Tech$
-
- 1) It appears that the following code :
-
- TMyPrintHandler.Print ( etc. ); etc.
-
- begin
- If fView.Focus then;
- print := INHERITED print (etc.);
- If fView.Focus then;
- end;
-
- will not focus the view the second time. Any attempts to call quickdraw
- routines such as InvalRect, will cause a crash. I had to explicitly set the
- gFocusedView to nil prior to the second focus. (Focus checks to see if the
- focusing view is equal to gFocusedView).
-
- Leslie R. Lee
- SoftView, Inc.
-
-